<template>
    <div>
        <img src="/src/data/bug.jpg" alt  @click="toGoodsinfo(1)" />
        <img src="/src/data/timg.jpg" alt  @click="toGoodsinfo(2)" />
    </div>
</template>

<script>
export default {
    data() {
        return {
            
        }
    },

    methods: {
        toGoodsinfo(id){
            this.$router.push({name:'goodsinfo',params:{id:id}})
        }
    },
}
</script>

<style lang="scss" scoped>

</style>
